﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Calculator2014
{
    public class CalculatorModel
    {
        public double Add(double value1,double value2)
        {
            return value1 + value2;
        }

        public double Sub(double value1, double value2)
        {
            return value1 - value2;
        }

        public double Mul(double value1, double value2)
        {
            return value1 * value2;
        }

        public double Div(double value1, double value2)
        {
            return value1 / value2;
        }
    }
}
